#pragma once

#include "includes.h"
class Imagem;

class Screen{

private:
	static Screen* _instance;
	
/* The screen surface */
	static SDL_Surface *screen;


protected:

	Lista allImagens;

public:

	static Screen* instance();

	void init(unsigned int altura,unsigned int largura,bool fullscreen);

	void inscreveSurface(Imagem* s);
	void desInscreveSurface(Imagem* s);

	virtual void update(unsigned long elapsedTime);
	void draw();

};

#include "Imagem.h"

